package com.coursehub.course.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * 班级创建DTO
 */
@Data
public class ClassesCreateDto {
    
    @JsonProperty("classesName")
    @NotBlank(message = "班级名称不能为空")
    @Size(max = 100, message = "班级名称长度不能超过100个字符")
    private String classesName;
    
    @JsonProperty("courseId")
    @NotBlank(message = "课程ID不能为空")
    private String courseId;
    
    @JsonProperty("description")
    @Size(max = 500, message = "描述长度不能超过500个字符")
    private String description;
}